星辰[优].js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Object.assign(muban.首图2.二级, {
  2. desc: '.data:eq(0)&&Text;;;.data--span:eq(2)&&Text;.data--span:eq(1)&&Text',
  3. tabs: '.stui-pannel__head h3',
  4. });
  5. var rule = {
  6. title: '星辰[优]',
  7. 模板: '首图2',
  8. host: 'http://www.xingchenwu.com',
  9. // url:'/fyclass/indexfypage.html[/fyclass/index.html]',
  10. url: '/fyfilter/indexfypage.html[/fyfilter/index.html]',
  11. filterable: 1,//是否启用分类筛选,
  12. filter_url: '{{fl.cateId}}',
  13. tab_exclude: '本周热门|最近更新',
  14. filter: 'H4sIAAAAAAAAA6tWSslMzKvMzEtXsoquVspOrVSyUkpOLEn1TFHSUcpLzE0F8p92tD3fuBvIL0vMKU0FK8wDCbeueNm8AiQM5MCNqdWBynateLJ3zvPOdpiC/Lz0qtL8AqA6uJrnHRufNbci1CRmFgKNQFWyfOLTnbsRSrJTM0oT81CUPGuc8KxhGpISoE1JpShKnk6b87RzOUJJRWYWmoLO5SguySpFuCS2NlYH7L/iDKA2KoQTxBy41bP3Ptm1HOgAqIr00vzkjMQ8JBXPdqx/2r8BoaIkMS+9JBHZjGdrlj/f14dQkV+am4oiP33py/krEfJFmVAbgH6rBQBoO0UaBAIAAA==',
  15. filter_def: {
  16. dianying: {cateId: 'dianying'},
  17. dianshiju: {cateId: 'dianshiju'},
  18. zongyi: {cateId: 'zongyi'},
  19. dongman: {cateId: 'dongman'}
  20. },
  21. lazy: $js.toString(() => {
  22. // 屏蔽图片onerror无限请求问题
  23. // let init_js = `
  24. // var imgTimer = setInterval(function(){
  25. // if(typeof($)!='undefined'){
  26. // let css = $('.lazyload[alt="成人深夜福利"]');
  27. // if(css.length > 0){
  28. // css.attr('onerror','this.onerror=null');
  29. // clearInterval(imgTimer);
  30. // }
  31. // }
  32. // },200);
  33. // `;
  34. let init_js = `Object.defineProperties(navigator, {platform: {get: () => 'iPhone'}});`;
  35. input = {
  36. parse: 1,
  37. url: input,
  38. js: '',
  39. parse_extra: '&init_script=' + encodeURIComponent(base64Encode(init_js)),
  40. }
  41. }),
  42. // searchUrl:'/search.php?page=fypage&searchword=**&searchtype=',
  43. searchUrl: '/search.php#searchword=**;post',
  44. class_parse: '.stui-header__menu li:gt(0):lt(7);a&&Text;a&&href;.*/(.*?)/.*html',
  45. }